home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Programmer's Power Pack
/
Delphi Volume 1.iso
/
s_to_z
/
t_rex10
/
trexdm03.dfm
/
trexdm03.txt
Wrap
Text File
|
1996-09-15
|
2KB
|
97 lines
object Form1: TForm1
Left = 247
Top = 149
Width = 296
Height = 252
Caption = 'TRex Demo - SubstAll'
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 16
Top = 104
Width = 75
Height = 13
Caption = 'Look for &pattern'
FocusControl = Edit1
end
object Label2: TLabel
Left = 16
Top = 132
Width = 8
Height = 13
Caption = '&in'
FocusControl = Edit2
end
object Label3: TLabel
Left = 16
Top = 160
Width = 127
Height = 13
Caption = '&replace each instance with'
end
object Bevel1: TBevel
Left = 8
Top = 4
Width = 273
Height = 77
end
object Label4: TLabel
Left = 16
Top = 8
Width = 257
Height = 69
Caption =
'This demo illustrates the use of the TRegExp object. A TRex comp' +
'onent uses these objects, but you can also use them independentl' +
'y. This program searches for a pattern in a string and replaces ' +
'all occurrences with a substitution string that you specify.'
WordWrap = True
end
object Edit1: TEdit
Left = 152
Top = 100
Width = 121
Height = 20
TabOrder = 0
Text = '[AEIOUaeiouy]+'
end
object Edit2: TEdit
Left = 152
Top = 128
Width = 121
Height = 20
TabOrder = 1
Text = 'You'#39'll soon see how'
end
object Edit3: TEdit
Left = 152
Top = 156
Width = 121
Height = 20
TabOrder = 2
Text = 'x'
end
object Edit4: TEdit
Left = 152
Top = 184
Width = 121
Height = 20
ReadOnly = True
TabOrder = 4
end
object Button1: TButton
Left = 11
Top = 181
Width = 113
Height = 25
Caption = 'and &show the result >'
Default = True
TabOrder = 3
OnClick = Button1Click
end
end